<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{layout :: css(~{::title},~{})}">
    <title>商品管理界面</title>
</head>
<body>
<div th:insert="~{layout::sidebar(activeURI='two')}"></div>

<div class="right">
    <div th:insert="~{GoodsTop::top(activeURI='three2')}"></div>
    <table border="1"  id="myTable">
        <thead>
        <tr>
            <th>商品ID</th>
            <th>所属品类</th>
            <th>销售价格</th>
            <th>进货价格</th>
            <th>状态</th>
            <th>属性</th>
            <th>编辑</th>
        </tr>
        </thead>
        <tbody>
        <tr th:each="orderVO:${itemlist}" th:if="${orderVO.status} eq 'N'">
            <td th:text="${orderVO.itemid}"class="id"></td>
            <td th:text="${orderVO.productid}" ></td>
            <td th:text="${orderVO.listprice}"></td>
            <td th:text="${orderVO.unitcost}"></td>
            <td th:text="${orderVO.status}"></td>
            <td th:text="${orderVO.attr1}"></td>
            <td>
                <button class="bianji">重新上架</button>
            </td>
        </tr>
        </tbody>
    </table>
</div>
</body>
<script type="text/javascript" charset="UTF-8" src="js/shangjia.js"></script>
</html>